﻿using System;
using System.Collections.Generic;
using WeiboPlus.Models;

namespace WeiboPlus.Service
{
    public interface IStatusService : IService
    {
        bool IsActive { get; }
        //发送一条微博
        void UpdateStatus(SNSRequest request, Action<SNSStatus,SNSResult> action);

        void GetTimeline(SNSRequest request, Action<IList<SNSStatus>,SNSResult> action);

        void AddComment(SNSRequest request, Action<SNSStatus,SNSResult> action);

        void DeleteComment(SNSRequest request, Action<SNSStatus,SNSResult> action);

        void QueryCounts(SNSRequest request, Action<SNSCounts, SNSResult> action);

        void ResetCounts(SNSRequest request, Action<SNSCounts,SNSResult> action);

        void GetCounts(SNSRequest snsRequest, Action<IList<SNSCounts>, SNSResult> action);

        void GetTrends(SNSRequest snsRequest, Action<SNSTrends, SNSResult> action);
    }
}
